<template>
	<view class="pageItem">
		<view class="header status_bar" :class="scrrol == true ? 'scrrolHeader' : ''">
			<view class="back iconfont icon-gengduo-copy" @tap="backPage"></view>
			<view class="text">系统设置</view>
		</view>
		<view class="clear_box"></view>
		<view class="main">
			<view class="row" data-url="/pages/personalcenter/information" @click="gotopage">
				<view class="iconfont r_icon">&#xe660;</view>
				<view class="r_txt">个人资料</view>
				<view class="iconfont r_icon2">&#xe62d;</view>
			</view>
			<view class="row" data-url="/pages/address/address" @click="gotopage">
				<view class="iconfont r_icon">&#xe648;</view>
				<view class="r_txt">收货地址</view>
				<view class="iconfont r_icon2">&#xe62d;</view>
			</view>
			<view class="row">
				<view class="iconfont r_icon">&#xe6db;</view>
				<view class="r_txt">协议及声明</view>
				<view class="iconfont r_icon2">&#xe62d;</view>
			</view>
			<view class="row">
				<view class="iconfont r_icon">&#xe70a;</view>
				<view class="r_txt">清除缓存</view>
				<view class="iconfont r_icon2">&#xe62d;</view>
			</view>
		</view>
		<view class="footer">
			<view class="btn">退出登录</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			backPage() {
				uni.navigateBack({});
			},
			gotopage(e) {
				let url = e.currentTarget.dataset.url;
				uni.navigateTo({
					url: url
				});
			},
		}
	}
</script>
<style>
page{
	background: #F6F8FA;
	padding-bottom: 21vw !important;
}
.pageItem{
	width: 100%;
	box-sizing: border-box;
}
.pageItem *{
	box-sizing: border-box;
}
</style>
<style lang="scss">
.main{
	width: 100%;
	padding: 4vw 4%;
	.row:not(:first-child){
		margin-top: 25rpx;
	}
	.row{
		width: 100%;
		display: flex;
		align-items: center;
		padding: 30rpx;
		border-radius: 25rpx;
		background: #ffffff;
		.r_icon{
			font-size: 4.5vw;
			color: #2E2E2E;
		}
		.r_txt{
			flex: 1;
			font-size: 4vw;
			color: #333333;
			padding: 0 25rpx;
		}
		.r_icon2{
			font-size: 3vw;
			color: #B3B3B3;
		}
	}
}
.footer{
	position: fixed;
	z-index: 98;
	width: 100%;
	height: 19vw;
	padding: 2vw 4% 5vw;
	bottom: 0;
	left: 0;
	background: #F6F8FA;
	.btn{
		height: 12vw;
		line-height: 12vw;
		border-radius: 7vw;
		text-align: center;
		width: 100%;
		background: #0DA4AD;
		font-size: 5vw;
		color: #ffffff;
		letter-spacing: 3rpx;
	}
}
</style>
